<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title>HiAll简历中心</title>
        <meta name="keywords" content=""/>
        <meta name="description" content=""/>
        <meta http-equiv="X-UA-Compatible" content="IE=7"/>
        <link rel="stylesheet" type="text/css" href="css/reset.css" />
        <link rel="stylesheet" type="text/css" href="css/myresume.css" />
        <link rel="stylesheet" type="text/css" href="css/thickbox.css" />
	<script type="text/javascript">
  var _gaq = _gaq || [];

  _gaq.push(['_setAccount', 'UA-2560481-30']);

  _gaq.push(['_trackPageview']);

  (function() {

    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

  })();
</script>
        <script language="javascript" src="js/jquery.js"></script>
    </head><body>
        <?= $header ?>

        <div class="div_body">
            <div id="navigation">
                <h1>我的简历</h1>
            </div>
        </div>
        <div class="div_body body clearfix" id="content">

            <div id="maincolumn">
                <div class="client" id="resume">
                    <div class="setBar">

                    </div>
                    <div id="basic-section" class="section">
                        <h2 class="clearfix">
                            <a href="index.php?c=MyResume&a=BaseInfoShow&height=520&width=760&keepThis=true&TB_iframe=true" title="修改基本信息" rel="basic" onclick="return false" class="modify  floatright fresh thickbox"><span>修改</span></a><span class="b">基本信息</span>
                        </h2>
                        <div class="container clearfix" id="Base-section-content">
                            <?= $baseInfo ?>
                        </div>
                    </div>
                    <?
                            $display = !isset($areaHideArr['edu']) || $areaHideArr['edu'] ? '' : ' style="display:none" ';
                    ?>
                            <div id="Edu-section" class="section" <?= $display ?>>
                                <h2 class="clearfix">
                                    <a id="edu" name="edu"></a>
                                    <a class="fresh floatright modify thickbox"  href="index.php?c=MyResume&a=EduShow&height=405&width=770&keepThis=true&TB_iframe=true" title="添加教育经历" rel="edu"><span>添加</span></a>
                                    <a class="floatright dohide fresh" href="javascript:vode(0);" title="隐藏教育经历,不在简历中显示" rel="Edu" rel2="edu"><span>隐藏</span></a>
                                    <span class="b">教育经历<em id="EduLoading" style="display:none"><img src="./images/loading.gif"/></em></span>
                                </h2>
                                <div id="Edu-section-content">
                            <?= $eduList ?>
                        </div>
                    </div>

                    <?
                            $display = !isset($areaHideArr['lang']) || $areaHideArr['lang'] ? '' : ' style="display:none" ';
                    ?>
                            <div id="lang-section" class="section" <?= $display ?>>
                                <h2 class="clearfix">
                                    <a id="lang" name="lang"></a>
                                    <a class="fresh floatright modify thickbox" href="?c=MyResume&a=LanguageShow&height=215&width=770&keepThis=true&TB_iframe=true" title="添加语言能力" rel="lang"><span>添加</span></a>
                                    <a class="floatright dohide fresh"  href="javascript:void(0);" title="隐藏语言能力,不在简历中显示" rel="lang" rel2="lang"><span>隐藏</span></a>
                                    <span class="b">语言能力<em id="LanguageLoading" style="display:none"><img src="./images/loading.gif"/></em></span>
                                </h2>
                                <div id="Language-section-content">
                            <?= $languageList ?>
                        </div>
                    </div>
                    <?
                            $display = !isset($areaHideArr['project']) || $areaHideArr['project'] ? '' : ' style="display:none" ';
                    ?>
                            <div id="Project-section" class="section" <?= $display ?>>
                                <h2 class="clearfix">
                                    <a id="project" name="project"></a>
                                    <a class="fresh floatright modify thickbox" href="?c=MyResume&a=ProjectShow&height=400&width=770&keepThis=true&TB_iframe=true" title="添加项目经验" rel="project"><span>添加</span></a>
                                    <a class="floatright dohide fresh" href="javascript:void(0);" title="隐藏项目经验,不在简历中显示" rel="project" rel2="project"><span>隐藏</span></a>
                                    <span class="b">项目经验<em id="ProjectLoading" style="display:none"><img src="./images/loading.gif"/></em></span>
                                </h2>
                                <div class="container clearfix">
                                    <div id="Project-section-content">
                                <?= $projectList ?>
                            </div>
                        </div>
                    </div>
                    <?
                                $display = !isset($areaHideArr['practice']) || $areaHideArr['practice'] ? '' : ' style="display:none" ';
                    ?>
                                <div id="job-section" class="section" <?= $display ?>>
                                    <h2 class="clearfix">
                                        <a id="job" name="job"></a>
                                        <a class="fresh floatright modify thickbox" href="?c=MyResume&a=JobShow&height=400&width=770&keepThis=true&TB_iframe=true" title="添加工作/实习经历" rel="practice"><span>添加</span></a>
                                        <a class="floatright dohide fresh" href="javascript:void(0);" title="隐藏工作/实习经历,不在简历中显示" rel="job" rel2="practice"><span>隐藏</span></a>
                                        <span class="b">工作/实习经历<em id="JobLoading" style="display:none"><img src="./images/loading.gif"/></em></span>
                                    </h2>
                                    <div class="container clearfix">
                                        <div id="Job-section-content">
                                <?= $jobList ?>
                            </div>
                        </div>
                    </div>
                    <?
                                $display = !isset($areaHideArr['offer']) || $areaHideArr['offer'] ? '' : ' style="display:none" ';
                    ?>
                                <div id="offer-section" class="section" <?= $display ?>>
                                    <h2 class="clearfix">
                                        <a id="offer" name="offer"></a>
                                        <a class="fresh floatright modify thickbox" href="?c=MyResume&a=JobHistoryShow&height=180&width=770&keepThis=true&TB_iframe=true" title="添加求职经历" rel="offer"><span>添加</span></a>
                                        <a class="floatright dohide fresh" href="javascript:void(0);" title="隐藏求职经历,不在简历中显示" rel="offer" rel2="offer"><span>隐藏</span></a>
                                        <span class="b">求职经历<em id="JobHistoryLoading" style="display:none"><img src="./images/loading.gif"/></em></span>
                                    </h2>            
                                    <div class="container clearfix">
                                        <div id="JobHistory-section-content">
                                <?= $jobhistoryList ?>
                            </div>
                        </div>
                    </div>
                    <?
                                $display = !isset($areaHideArr['cert']) || $areaHideArr['cert'] ? '' : ' style="display:none" ';
                    ?>
                                <div id="cert-section" class="section" <?= $display ?>>
                                     <h2 class="clearfix">
                                        <a id="cert" name="cert"></a>
                                        <a class="fresh floatright modify thickbox" href="?c=MyResume&a=CertShow&height=360&width=770&keepThis=true&TB_iframe=true" title="添加获得证书" rel="cert"><span>添加</span></a>
                                        <a class="floatright dohide fresh" href="javascript:void(0);" title="隐藏获得证书,不在简历中显示" rel="cert" rel2="cert"><span>隐藏</span></a>
                                        <span class="b">获得证书<em id="CertLoading" style="display:none"><img src="./images/loading.gif"/></em></span>
                                    </h2>
                                    <div class="container clearfix">
                                        <div id="Cert-section-content">
                                <?= $certList ?>
                            </div>
                        </div>
                    </div>
                    <?
                                $display = !isset($areaHideArr['training']) || $areaHideArr['training'] ? '' : ' style="display:none" ';
                    ?>
                                <div id="training-section" class="section" <?= $display ?>>
                                    <h2 class="clearfix">
                                        <a id="training" name="training"></a>
                                        <a class="fresh floatright modify thickbox" href="?c=MyResume&a=TrainShow&height=220&width=770&keepThis=true&TB_iframe=true" title="添加培训经历" rel="training"><span>添加</span></a>
                                        <a class="floatright dohide fresh" href="javascript:void(0);" title="隐藏培训经历,不在简历中显示" rel="training" rel2="training"><span>隐藏</span></a>
                                        <span class="b">培训经历<em id="TrainLoading" style="display:none"><img src="./images/loading.gif"/></em></span>
                                    </h2>
                                    <div class="container clearfix">
                                        <div id="Train-section-content">
                                <?= $trainList ?>
                            </div>
                        </div>
                    </div>
                    <?
                                $display = !isset($areaHideArr['it']) || $areaHideArr['it'] ? '' : ' style="display:none" ';
                    ?>
                                <div id="IT-section" class="section" <?= $display ?>>
                                    <h2 class="clearfix">
                                        <a id="itskill" name="itskill"></a>
                            <?php
                                if (!in_array(1, $it_type_arr)) {
                            ?>
                                    <a id="familiar" class="fresh floatright modify thickbox" href="index.php?c=MyResume&a=ITShow&type=1&height=360&width=770&keepThis=true&TB_iframe=true" title="添加IT技能" rel="itskill"><span>添加我熟悉的技能</span></a>
                            <?php
                                }
                                if (!in_array(2, $it_type_arr)) {
                            ?>
                                    <a id="goodat" class="fresh floatright modify thickbox" href="index.php?c=MyResume&a=ITShow&type=2&height=360&width=770&keepThis=true&TB_iframe=true" title="添加IT技能" rel="itskill"><span>添加我精通的技能</span></a>
                            <?php
                                }
                            ?>
                                <a class="floatright dohide fresh" href="javascript:void(0);" title="隐藏IT技能,不在简历中显示" rel="IT" rel2="it"><span>隐藏</span></a>
                                <span class="b">IT技能<em id="ITLoading" style="display:none"><img src="./images/loading.gif"/></em></span>
                            </h2>
                            <div id="IT-section-content" class="container clearfix">
                            <?= $itList ?>
                            </div>
                        </div>

                    <?
                                $display = !isset($areaHideArr['position']) || $areaHideArr['position'] ? '' : ' style="display:none" ';
                    ?>
                                <div id="Position-section" class="section" <?= $display ?>>
                                    <h2 class="clearfix">
                                        <a id="position" name="position"></a>
                                        <a class="fresh floatright modify thickbox" href="index.php?c=MyResume&a=PositionShow&height=305&width=770&keepThis=true&TB_iframe=true" title="添加校内职务" rel="position"><span>添加</span></a>
                                        <a class="floatright dohide fresh" href="javascript:void(0);" title="隐藏校内职务,不在简历中显示" rel="Position" rel2="position"><span>隐藏</span></a>
                                        <span class="b">校内职务<em id="PositionLoading" style="display:none"><img src="./images/loading.gif"/></em></span>
                                    </h2>
                                    <div id="Position-section-content">
                            <?= $positionList ?>
                            </div>
                        </div>


                    <?
                                $display = !isset($areaHideArr['schoolaward']) || $areaHideArr['schoolaward'] ? '' : ' style="display:none" ';
                    ?>
                                <div id="SchoolAward-section" class="section" <?= $display ?>>
                                    <h2 class="clearfix">
                                        <a id="scholarship" name="scholarship"></a>
                                        <a class="fresh floatright modify thickbox" href="index.php?c=MyResume&a=SchoolAwardShow&height=305&width=770&keepThis=true&TB_iframe=true" title="添加校内奖励" target="_self"><span>添加</span></a>
                                        <a class="floatright dohide fresh" href="javascript:void(0);" title="隐藏校内奖励,不在简历中显示" rel="SchoolAward" rel2="schoolaward"><span>隐藏</span></a>
                                        <span class="b">校内奖励<em id="SchoolAwardLoading" style="display:none"><img src="./images/loading.gif"/></em></span>
                                    </h2>
                                    <div id="SchoolAward-section-content">
                            <?= $schoolAwardList ?>
                            </div>
                        </div>

                    <?
                                $display = !isset($areaHideArr['other']) || $areaHideArr['other'] ? '' : ' style="display:none" ';
                    ?>
                                <div id="Other-section" class="section" <?= $display ?>>
                                    <h2 class="clearfix">
                                        <a id="other" name="other"></a>
                                        <a class="fresh floatright modify thickbox" href="?c=MyResume&a=OtherShow&height=215&width=770&keepThis=true&TB_iframe=true" title="添加其他信息" rel="other"><span>添加</span></a>
                                        <a class="floatright dohide fresh" href="javascript:void(0);" title="隐藏其他信息,不在简历中显示" rel="Other" rel2="other"><span>隐藏</span></a>
                                        <span class="b">其他信息 <em id="OtherLoading" style="display:none"><img src="./images/loading.gif"/></em></span>
                                    </h2>
                                    <div id="Other-section-content">
                            <?= $otherList ?>
                            </div>
                        </div>

                    <?
                                $display = ' style="display:none ;"';
                                if ($areaHideArr) {
                                    foreach ($areaHideArr as $key => $area) {
                                        if (!in_array($key, array('photo', 'uid')) && !$area) {
                                            $display = '';
                                            break;
                                        }
                                    }
                                }
                    ?>
                                <div <?= $display ?> id="operation-section" class="section">
                                    <div class="title">
                                        <span class="b">已隐藏的区块</span><span class="g6">（被隐藏区块不会在简历中显示。如需显示，请点击“恢复”）</span>
                                    </div>
                                    <div class="operation">
                                        <ul class="clearfix">
                                            <li <?= isset($areaHideArr['edu']) && $areaHideArr['edu'] ? 'style="display: none;"' : '' ?> id="recovery-Edu" class="recovery">教育经历<a href="javascript:void(0)"  onclick="recovery('Edu','edu')">恢复</a></li>
                                            <li <?= isset($areaHideArr['lang']) && $areaHideArr['lang'] ? 'style="display: none;"' : '' ?> id="recovery-lang" class="recovery">语言能力<a href="javascript:void(0)" onclick="recovery('lang','lang')">恢复</a></li>
                                            <li <?= isset($areaHideArr['project']) && $areaHideArr['project'] ? 'style="display: none;"' : '' ?> id="recovery-project" class="recovery">项目经验<a href="javascript:void(0)" onclick="recovery('project','project')">恢复</a></li>
                                            <li <?= isset($areaHideArr['practice']) && $areaHideArr['practice'] ? 'style="display: none;"' : '' ?> id="recovery-job" class="recovery">工作/实习经历<a href="javascript:void(0)" onclick="recovery('job','practice')">恢复</a></li>
                                            <li <?= isset($areaHideArr['offer']) && $areaHideArr['offer'] ? 'style="display: none;"' : '' ?> id="recovery-offer" class="recovery">求职经历<a href="javascript:void(0)" onclick="recovery('offer','offer')">恢复</a></li>
                                            <li <?= isset($areaHideArr['cert']) && $areaHideArr['cert'] ? 'style="display: none;"' : '' ?> id="recovery-cert" class="recovery">获得证书<a href="javascript:void(0)" onclick="recovery('cert','cert')">恢复</a></li>
                                            <li <?= isset($areaHideArr['training']) && $areaHideArr['training'] ? 'style="display: none;"' : '' ?> id="recovery-training" class="recovery">培训经历<a href="javascript:void(0)" onclick="recovery('training','training')">恢复</a></li>
                                            <li <?= isset($areaHideArr['it']) && $areaHideArr['it'] ? 'style="display: none;"' : '' ?> id="recovery-IT" class="recovery">IT技能<a href="javascript:void(0)"  onclick="recovery('IT','it')">恢复</a></li>
                                            <li <?= isset($areaHideArr['position']) && $areaHideArr['position'] ? 'style="display: none;"' : '' ?> id="recovery-Position" class="recovery">校内职务<a href="javascript:void(0)"  onclick="recovery('Position','position')">恢复</a></li>
                                            <li <?= isset($areaHideArr['schoolaward']) && $areaHideArr['schoolaward'] ? 'style="display: none;"' : '' ?> id="recovery-SchoolAward" class="recovery">校内奖励<a href="javascript:void(0)" onclick="recovery('SchoolAward','schoolaward')">恢复</a></li>
                                            <li <?= isset($areaHideArr['other']) && $areaHideArr['other'] ? 'style="display: none;"' : '' ?>  id="recovery-Other" class="recovery">其他信息<a href="javascript:void(0)" onclick="recovery('Other','other')">恢复</a></li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
























                        <div id="rightcolumn">
                            <div id="dashboard">
                                <div class="preview aligncenter">
                                    <a target="_blank" href="index.php?c=Preview"><img src="./images/preview.gif" /></a>
                                    <a href="index.php?c=MyResume&a=Save"><img src="./images/save.gif" /></a>
                                </div>
                    <?
                                $liStr = '';
                                $allScore = 0;
                                if ($areaHideArr) {
                                    foreach ($areaHideArr as $k => $hideVal) {
                                        if (in_array($k, array('id')) || !isset($myResumeConfig['areaInfo'][$k])
                                            )continue;

                                        $hide = $myResumeConfig['areaInfo'][$k];
                                        $hideOkCss = 'g9 ';
                                        $dataVar = $hide['rel'] . 'Data';
                                        if ($$dataVar) {//没有隐藏，并且这个区域有数据 $hideVal == 1 &&
                                            $allScore += $hide['score'];
                                            $hideOkCss = 'true ';
                                        }
                                        $liStr .= '<li rel="' . $hide['rel'] . '" id="' . $k . '-menu"><span class="' . $hideOkCss . 'floatright">+' . $hide['score'] . '%</span>' . $hide['name'] . '</li>';
                                    }
                                }
                    ?>
                                <h2 class="clearfix"><span class="floatright font"><span id="percent" class="b"><?= $allScore ?></span>%</span>简历完整度</h2>
                                <div class="limit clear2"><span style="width: <?= $allScore ?>%;" id="percent-bar"></span></div>
                            </div>
                            <ul id="jquery-hover" class="list">
<?= $liStr; ?>
                            </ul>
                            <div class="say"><span class="true">已填写</span> <span class="nodata">暂未填写</span></div>
                        </div>
                        <div class="floor"></div>
                    </div>
<?= $footer ?>
        <script language="javascript" src="js/myresume.js"></script>
        <script language="javascript" src="js/validator.js"></script>
        <script language="javascript" src="js/thickbox.js"></script>
        <script>
            Zvalidator.init();
        </script>
    </body>

</html>
